import DS from 'ember-data';

export default DS.Model.extend({
  comments: DS.hasMany('comment'),// one to many
  tags: DS.hasMany('tag'),//many to many
  comments: DS.hasMany('comment', {
    inverse: 'redPost'
  })
});